<?php

namespace App\Http\Controllers\Admin;

use App\Http\Controllers\RestfulBaseController;
use App\Models\Admin;
use Auth;

class AdminBaseController extends RestfulBaseController
{
    protected Admin $user;

    public function __construct()
    {
        if (Auth::guard('admin')->check())
            $this->user = Auth::guard('admin')->user();
    }
}
